package Bk.Expression;

public class Ex33RetangleServiceImpl implements Ex33RetangleService {

	@Override
	public double getArea(Ex33Length RS) {
		double area = RS.getHeight() * RS.getWidth();
		return area;
	}

	@Override
	public double getRound(Ex33Length RS) {
		double round = (RS.getHeight() + RS.getWidth()) * 2;
		return round;
	}

}
